package com.thx.information.view;

import com.thx.information.model.InfoVoteItem;
import com.thx.information.model.InfoVoteLog;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;


public class VoteItemLogView implements java.io.Serializable {

  private static final long serialVersionUID = 1L;

  public String toString() {
    return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE);
  }


  private InfoVoteItem infoVoteItem;
  private List<InfoVoteLog> infoVoteLog;

  private String optionName;
  private Long voteTotal;
  private Long voteItemId;

  public String getOptionName() {
    return optionName;
  }

  public void setOptionName(String optionName) {
    this.optionName = optionName;
  }


  public List<InfoVoteLog> getInfoVoteLog() {
    return infoVoteLog;
  }

  public void setInfoVoteLog(List<InfoVoteLog> infoVoteLog) {
    this.infoVoteLog = infoVoteLog;
  }

  public Long getVoteTotal() {
    return voteTotal;
  }

  public void setVoteTotal(Long voteTotal) {
    this.voteTotal = voteTotal;
  }

  public Long getVoteItemId() {
    return voteItemId;
  }

  public void setVoteItemId(Long voteItemId) {
    this.voteItemId = voteItemId;
  }

  public InfoVoteItem getInfoVoteItem() {
    return infoVoteItem;
  }

  public void setInfoVoteItem(InfoVoteItem infoVoteItem) {
    this.infoVoteItem = infoVoteItem;
  }


}
